<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Alta estudiante</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/css/form.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/jquery-ui.css" />
<script src="${pageContext.request.contextPath}/resources/js/jquery.js"></script>
<script src="${pageContext.request.contextPath}/resources/js/jqueryvalidate.js"></script>
<script src="${pageContext.request.contextPath}/resources/js/jquery-ui.js"></script>
<script src="${pageContext.request.contextPath}/resources/js/estudiante/insert.js"></script>




</head>
<body>
	<form action="guardarDatos" method="post" id="form">
		<fieldset>
			<legend>Registro estudiante</legend>
			<p>

				<label for="noCtrl">N. de Control:</label> <em>*</em>
				<input 	name="noCtrl" />
			</p>
			<p>
				<label for="nombre">Nombre:</label> <em>*</em><input 
					name="nombre" />
			</p>

			<p>
				<label for="idCarrera">Carrera:</label> <em>*</em><select
					 name="idCarrera">
					<c:forEach items="${carreras}" var="c">
						<option value="${c.idCarrera}">${c.descripcion}</option>
					</c:forEach>

				</select>
			</p>

			<p>
				<label for="aPaterno">Apellido Paterno:</label> <em>*</em><input
					 name="aPaterno" />
			</p>

			<p>
				<label for="aMaterno">Apellido Materno:</label> <em>*</em><input
					 name="aMaterno" />
			</p>

			<p>
				<label for="sexo">Sexo:</label> <em>*</em><input 
					name="sexo" />
			</p>

			<p>
				<label for="fechaN">Fecha de nacimiento:</label> <em>*</em><input id="datepicker"
					name="fechaN" />
			</p>
			<p>
				<label for="curp">Curp:</label> <em>*</em><input
					name="curp" />
			</p>
			<p>
				<input type="submit" value="Guardar" />
			</p>
		</fieldset>

	</form>

</body>
</html>